package com.da.javatest.leetCode2;

public class Code70 {
    public int climbStairs(int n) {
        if (n <= 3) {
            return n;
        } else {
            return climbStairs(n - 1) + climbStairs(n - 2);
        }
    }
}
